import request from "@/sheep/request";

export default {
  //账户流水列表
  getAccountStatementIndex: (params) =>
    request({
      url: 'api/account_statement/index',
      method: 'GET',
      custom: {
        showSuccess: false,
        successMsg: '',
        showError: true,
        errorMsg: '',
        showLoading: true,
        loadingMsg: '加载中',
        auth: true,
      },
      params,
    }),
     //账户流水列表
  getAccountStatementView: (params) =>
    request({
      url: 'api/account_statement_detail/index',
      method: 'GET',
      custom: {
        showSuccess: false,
        successMsg: '',
        showError: true,
        errorMsg: '',
        showLoading: true,
        loadingMsg: '加载中',
        auth: true,
      },
      params,
    }),
  // 商户号余额列表
  merchant_balanceList: (params) =>
    request({
      url: 'api/schedule_remit/merchant_balance',
      method: 'GET',
      custom: {
        showSuccess: false,
        successMsg: '',
        showError: true,
        errorMsg: '',
        showLoading: true,
        loadingMsg: '加载中',
        auth: true,
      },
      params,
    }),
}